<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>投票页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form action="user/choose" method="get">
    	<h3>请 <span style="color:blue">${user.username}&nbsp;</span>进行投票!</h3>
    	<p>投票问题：大家开心不？选项（单选）</p>
    	1、开心<input type="radio" name="options" value="开心" /><br/>
    	2、不开心<input type="radio" name="options" value="不开心"/><br/>
    	<span style="color:pink">${msg }</span><br/>
    	<hr/>
    	<input type="submit" name='button' value="提交"/>
    	<!--<input type="hidden" name="choose"/>-->
    </form>
  </body>
</html>
